package dao;

import pojo.Dept;

import java.util.List;

public interface DeptDao {

    //定义行为
    //查询用户

    List<Dept> findAll(Dept dept);

    int addDept(Dept dept);

    Dept findDeptById(int id);

    int updateDept(Dept dept);

    int deleteDeptById(int id);

    //增加

    //删除

    //修改
}
